package com.ddpt.platform.common.export.vo.order;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

/**
 * 售后订单详情导出
 *
 * @author : zhanggsc
 * @Data : 2023/3/7 14:02
 */
@Getter
@Setter
public class AfterSalesOrderInfoVo extends QueryDataVo {

    @Export(value = "业务id", isStr = true)
    private Long businessId;

    @Export(value = "业务类型", key = {"activity", "mall", "member"}, val = {"活动", "商城", "会员"})
    private String businessType;

    @Export(value = "业务订单id", isStr = true)
    private Long orderId;

    @Export("订单编号")
    private String orderNo;

    @Export(value = "商家id", isStr = true)
    private Long storeId;

    @Export(value = "用户id", isStr = true)
    private Long userId;

    @Export(value = "当前异常订单状态", key = {"submit", "wait_user_ship", "wait_store_receive", "finish", "reject"},
            val = {"提交状态", "等待用户发货", "等待商家收货", "完成", "售后拒绝处理"})
    private String status;

    @Export("用户的售后原因")
    private String userReason;

    @Export("用户的详情描述")
    private String userDescription;

    @Export("用户的凭证图片")
    private String userImages;

    @Export("用户名字")
    private String userName;

    @Export("用户手机号码")
    private String userPhone;

    @Export("用户当前登陆账号")
    private String userAccount;

    @Export("商家的详情描述")
    private String storeDescription;

    @Export("商家的凭证图片")
    private String storeImages;

    @Export("商家的收获地址")
    private String storeAddress;

    @Export("商家联系电话")
    private String storePhone;

    @Export("商家名字")
    private String storeName;

    @Export(value = "用户发货时间", isTime = true)
    private Long userShipTime;

    @Export(value = "商家处理时间(拒绝时间或审核时间)", isTime = true)
    private Long storeProcessTime;

    @Export(value = "商家收货时间", isTime = true)
    private Long storeReceiveTime;

    @Export(value = "系统退款时间", isTime = true)
    private Long refundTime;

    @Export(value = "系统处理完成时间", isTime = true)
    private Long finishTime;

    @Export(value = "自动收货时间", isTime = true)
    private Long autoReceiveTime;

    @Export("用户发货的物流公司")
    private String userLogisticsCompany;

    @Export("用户发货的物流编号")
    private String userLogisticsNum;

    @Export(value = "主订单状态",key = {"0","1","2","3","4","5","6","7","8"}
            ,val = {"待支付","待选规格","待领取","待发货","待收货","已完成","已关闭","领取失败","充值中"})
    private Integer mainStatus;

    @Export("支付需要花费的代币数量")
    private Integer payOfCurrencyCount;

    @Export("serviceStr")
    private String serviceStr;

}
